from langdev_helper.llm.lcex import llm_lcex as llm

from tool import tools

from langchain import hub
# from langchain_openai import ChatOpenAI

from langgraph.prebuilt import create_react_agent

# Get the prompt to use - you can modify this!
prompt = hub.pull("ih/ih-react-agent-executor")

# print('prompt: ', prompt, '---')
# prompt.pretty_print()

# Choose the LLM that will drive the agent
# llm = ChatOpenAI(model="gpt-4-turbo-preview")
agent_executor = create_react_agent(llm, tools, state_modifier=prompt)